<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ page import="com.jkt.rms.commons.includes.*" %>
<%@ page import="com.jkt.rms.vo.*"%>
<%@ page import="java.util.Map"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="/spring"%>

<html>
<head>
<title><fmt:message key="lbl.title.changePasswordPage" /></title>
</head>
<body>
<center>
	<h2 id="headerbar"><fmt:message key="lbl.title.changePasswordPage" /></h2>
	<div>
	<form:form method="POST" commandName="user">
	<table width = "60%" border = "0" align  ="center" >
	  <tr >
	  <c:if test="${not empty user.message}">
	  <td colspan="4" align="center" ><c:out value="${user.message}"/></td>
	  </c:if>
	  <td colspan="4" align="center" > <form:errors path="*" cssClass="error" /></td>
      </tr>
		  
		  <tr >
            <td align='right' class=header><label for="textOldPass">User ID:</label></td>
            <td align='center' class=value>
            <form:input path="username" maxlength="20" tabindex="1"   />
            	
            </td>
          </tr>
			
          <tr  >
            <td align='right'><label for="textOldPass">Current Password:</label></td>
            <td align='center' >
            <form:password path="currentPassword"  maxlength= "20" tabindex="2" title="Enter old password" />
            	
            </td>
          </tr>
          <tr  >
            <td align='right' ><label for="textNewPass">New Password:</label></td>
            <td align='center' >
              <form:password path="newPassword"  maxlength= "20" tabindex="3" title="Enter old password" />
            	
            </td>
          </tr>
          <tr>
            <td align='right' ><label for="textReNewPass">Confirm Password:</label></td>
            <td align='center' >
             <form:password path="confirmPassword"  maxlength= "20" tabindex="4" title="Enter old password" />
            </td>
          </tr>
          <tr>
            <td colspan=4 align=center>
          &nbsp;
            </td>
          </tr>
          <tr >
            <td colspan="4" align="center">
              <input class="value" type='submit' name='button' value='Change Password'  tabindex="4" title="" >
            </td>
          </tr>
   
	  <tr >
            <td colspan="4" align="center">
             &nbsp;
            </td>
          </tr>
            <tr >
            <td colspan="4" align="center">
            <br style="clear: both; height: 0px; line-height: 0px;">
             <%@ include file="footer.jsp"%>
            </td>
          </tr>
      </table>
</form:form>
</div>
</center></body>
</html>




